package com.intellagric.mapper;

import com.intellagric.pojo.TraceInvestType;
import com.intellagric.pojo.TraceInvestTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceInvestTypeMapper {
    long countByExample(TraceInvestTypeExample example);

    int deleteByExample(TraceInvestTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceInvestType record);

    int insertSelective(TraceInvestType record);

    List<TraceInvestType> selectByExample(TraceInvestTypeExample example);

    TraceInvestType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceInvestType record, @Param("example") TraceInvestTypeExample example);

    int updateByExample(@Param("record") TraceInvestType record, @Param("example") TraceInvestTypeExample example);

    int updateByPrimaryKeySelective(TraceInvestType record);

    int updateByPrimaryKey(TraceInvestType record);
}